if item 1 of msLoc > item 1 of butRect and item 2 of msLoc > item 2 of butRect and item 1 of msLoc < item 3 of butRect and item 2 of msLoc < item 4 of butRect then
set the highlight of the target to true
put the short name of the target into foo
put card field foo into card field "window"
put true into oneIsHighlighted
else
set the highlight of the target to false
end if
end checkMe
-- part 1 (field)
-- low flags: 80
-- high flags: 0001
-- rect: left=0 top=0 right=32 bottom=140
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: title
-- part 2 (field)
-- low flags: 80
-- high flags: 0001
-- rect: left=140 top=0 right=32 bottom=315
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: rename
-- part 3 (field)
-- low flags: 80
-- high flags: 0001
-- rect: left=315 top=0 right=32 bottom=490
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: renumber
-- part 4 (field)
-- low flags: 01
-- high flags: 2004
-- rect: left=173 top=83 right=148 bottom=337
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: window
-- part 5 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=227 top=174 right=191 bottom=355
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: rename
-- part 6 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=227 top=190 right=206 bottom=355
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: renumber
-- part 7 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=205 top=313 right=337 bottom=302
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: More Help...
----- HyperTalk script -----
on mouseUp
go to card id 5663
end mouseUp
-- part contents for card part 4
----- text -----
Highlight a menu item to see that item’s function…
-- part contents for card part 1
----- text -----
Highlight a menu item to see that item’s function…
-- part contents for card part 2
----- text -----
Allows you to assign a (new) name to the selected resource.
-- part contents for card part 3
----- text -----
Allows you to change the ID number of the selected resource.